package light.mvc.model.wxn;

import javax.persistence.Entity;
import javax.persistence.Table;

import light.mvc.model.base.IdEntity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.validator.constraints.NotBlank;

@Entity
@Table(name = "WXN_WEI_CONFIG")
@DynamicInsert(true)
@DynamicUpdate(true)
public class WeiConfigBO extends IdEntity implements java.io.Serializable {

	private static final long serialVersionUID = -570098299191874913L;
	
	private String app_name;//应用name
	private String app_url;//应用域名
	private String app_id;//应用ID
	private String app_secret;//应用秘钥
	private String app_token;//应用令牌
	private String callback_url;//回调地址
	private String wx_pay_mchid;//微支付ID
	private String wx_pay_key;//微支付秘钥
	private String wx_pay_api_call_url;//微支付请求地址
	private String wx_pay_notify_url;//微支付回调地址
	
	
	public String getApp_name() {
		return app_name;
	}
	public void setApp_name(String app_name) {
		this.app_name = app_name;
	}
	public String getApp_url() {
		return app_url;
	}
	public void setApp_url(String app_url) {
		this.app_url = app_url;
	}
	public String getApp_id() {
		return app_id;
	}
	public void setApp_id(String app_id) {
		this.app_id = app_id;
	}
	public String getApp_secret() {
		return app_secret;
	}
	public void setApp_secret(String app_secret) {
		this.app_secret = app_secret;
	}
	public String getApp_token() {
		return app_token;
	}
	public void setApp_token(String app_token) {
		this.app_token = app_token;
	}
	public String getCallback_url() {
		return callback_url;
	}
	public void setCallback_url(String callback_url) {
		this.callback_url = callback_url;
	}
	public String getWx_pay_mchid() {
		return wx_pay_mchid;
	}
	public void setWx_pay_mchid(String wx_pay_mchid) {
		this.wx_pay_mchid = wx_pay_mchid;
	}
	public String getWx_pay_key() {
		return wx_pay_key;
	}
	public void setWx_pay_key(String wx_pay_key) {
		this.wx_pay_key = wx_pay_key;
	}
	public String getWx_pay_api_call_url() {
		return wx_pay_api_call_url;
	}
	public void setWx_pay_api_call_url(String wx_pay_api_call_url) {
		this.wx_pay_api_call_url = wx_pay_api_call_url;
	}
	public String getWx_pay_notify_url() {
		return wx_pay_notify_url;
	}
	public void setWx_pay_notify_url(String wx_pay_notify_url) {
		this.wx_pay_notify_url = wx_pay_notify_url;
	}
	
	
	
	
	
}
